package com.example.ormsqlsplicingframe1.sql;

import java.util.function.Consumer;

//sele4ct id as total
public interface SelectSql extends TableSql<SelectSql>,JoinSql<SelectSql>,WhereSql<SelectSql>{


    SelectFieldSql fields();

    default SelectSql fields(Consumer<SelectFieldSql> consumer){
        consumer.accept(fields());
    return this;
    }

    SelectSql page(int pageNumber,int pageSize);

    SelectSql group(String name);

    SelectSql order(String name,boolean isAsc);
}
